/// 系统管理员角色
pub const ROLE_ROOT: i32 = 1;
/// 授权请求头
pub const AUTHORIZATION: &str = "Authorization";
/// 授权请求头类型
pub const TOKEN_TYPE: &str = "Bearer";
/// 忽略路由
pub const IGNORE_ROUTES: [&str; 2] = ["/api/v1/auth/login", "/api/v1/file/view"];
/// 允许的文件扩展名
pub const ALLOWED_EXTENSIONS: &[&str] = &["jpg", "jpeg", "png", "zip", "pdf"];
/// 允许一次上传的文件数量
pub const MAX_FILE_SIZE: usize = 1;



pub mod tags {
    /// 授权
    pub const AUTH: &str = "授权 auth";
    /// 用户
    pub const USER: &str = "用户 user";
    /// 菜单
    pub const MENU: &str = "菜单 menu";
    /// 权限
    pub const PERM: &str = "权限 perm";
    /// 角色
    pub const ROLE: &str = "角色 role";
    /// 文件
    pub const FILE: &str = "文件 file";
   
}